import { useSearchParams } from "react-router-dom";
const Detail = () => {
    const [searchs] = useSearchParams();
    return (
        <div className='alert alert-danger'>详情页：{searchs.get("id")}</div>
    );
};

export default Detail;
